package com.infore.siteManagement.entity.equipment;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * The persistent class for the EQUIP_LOG database table.
 * 
 */
@Entity
@Table(name="EQUIP_LOG")
@NamedQuery(name="EquipLog.findAll", query="SELECT e FROM EquipLog e")
public class EquipLog implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Temporal(TemporalType.DATE)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name="APPLY_TIME")
	private Date applyTime;

	@Column(name="EQUIP_FACTORY_CODE")
	private String equipFactoryCode;

	@Column(name="EQUIP_ID")
	private String equipId;

	@Column(name="EQUIP_MODEL_ID")
	private String equipModelId;

	@Column(name="EQUIP_MODEL_NAME")
	private String equipModelName;

	@Column(name="OPCEN_ID")
	private String opcenId;

	@Column(name="OPCEN_NAME")
	private String opcenName;

	@Column(name="PASSWORLD")
	private String passworld;

	@Column(name="REASON")
	private String reason;

	@Column(name="ROLE_ID")
	private String roleId;

	@Column(name="ROLE_NAME")
	private String roleName;

	@Column(name="USER_ID")
	private String userId;

	@Column(name="USER_NAME")
	private String userName;

	public EquipLog() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getApplyTime() {
		return this.applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public String getEquipFactoryCode() {
		return this.equipFactoryCode;
	}

	public void setEquipFactoryCode(String equipFactoryCode) {
		this.equipFactoryCode = equipFactoryCode;
	}

	public String getEquipId() {
		return this.equipId;
	}

	public void setEquipId(String equipId) {
		this.equipId = equipId;
	}

	public String getEquipModelId() {
		return this.equipModelId;
	}

	public void setEquipModelId(String equipModelId) {
		this.equipModelId = equipModelId;
	}

	public String getEquipModelName() {
		return this.equipModelName;
	}

	public void setEquipModelName(String equipModelName) {
		this.equipModelName = equipModelName;
	}

	public String getOpcenId() {
		return this.opcenId;
	}

	public void setOpcenId(String opcenId) {
		this.opcenId = opcenId;
	}

	public String getOpcenName() {
		return this.opcenName;
	}

	public void setOpcenName(String opcenName) {
		this.opcenName = opcenName;
	}

	public String getPassworld() {
		return this.passworld;
	}

	public void setPassworld(String passworld) {
		this.passworld = passworld;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}